package com.abel.quiz.dao;

import com.abel.quiz.dao.BaseDao;
import com.abel.quiz.po.RelUserRolePo;
import com.abel.quiz.po.RelUserRolePoCriteria;
import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
* @author abel.lin
* @date_time 2017-08-04 13:57
* @description
*/
public interface RelUserRolePoDao extends BaseDao<RelUserRolePo, RelUserRolePoCriteria>{

    int countByExample(RelUserRolePoCriteria example);
    
    int deleteByExample(RelUserRolePoCriteria example);
    
    int deleteByPrimaryKey(String id);
    
    int insert(RelUserRolePo record);
    
    int insertSelective(RelUserRolePo record);
    
    List<RelUserRolePo> selectByExample(RelUserRolePoCriteria example);

    RelUserRolePo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") RelUserRolePo record, @Param("example") RelUserRolePoCriteria example);

    int updateByExample(@Param("record") RelUserRolePo record, @Param("example") RelUserRolePoCriteria example);

    int updateByPrimaryKeySelective(RelUserRolePo record);

    int updateByPrimaryKey(RelUserRolePo record);
}